package com.socket.tools;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 即时通信系统主应用程序
 */
@SpringBootApplication
@EnableScheduling
public class InstantMessagingApplication {

    public static void main(String[] args) {
        SpringApplication.run(InstantMessagingApplication.class, args);
        System.out.println("即时通信系统启动成功！");
        System.out.println("客户端访问地址: http://localhost:8080/client");
        System.out.println("服务端管理地址: http://localhost:8080/admin");
    }
} 